package com.excel.write;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @Auther: 梁玉杰
 * @Date: 2021/8/31 20:36
 * @Description: 读Excel
 */
@Data
public class DemoReadeData {

    //设置Excel - 表头名称 -- @ExcelProperty("学生id")
        //index -- 是表示Excel的列数
    @ExcelProperty(value = "学生id",index = 0)
    private Integer id;
    @ExcelProperty(value = "学生姓名",index = 1)
    private String name;

}
